P+ - Game & Watch - Subaction - SpecialAirLw

| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 |

Stats

IASA: None
Subaction Index: 0x1ea

Scripts

Main

  1. FloatVariableSet { variable: LongtermAccessFloat (0x46), value: InternalConstantInt(HorizontalCharacterVelocity) }
  2. FloatVariableSet { variable: LongtermAccessFloat (0x45), value: InternalConstantInt(VerticalCharacterVelocity) }
  3. FloatVariableDivide { variable: LongtermAccessFloat (0x46), value: 1.6667 }
  4. BoolVariableSetTrue { variable: LongtermAccessBool(CanNotTeeter) }
  5. SetOrAddVelocity(SetOrAddVelocity { x_vel: 0.0, y_vel: 0.0, x_set: false, y_set: true })
  6. AddVelocity { x_vel: Variable(LongtermAccessFloat(Address(70))), y_vel: Constant(0.0) }
  7. BoolVariableSetFalse { variable: LongtermAccessBool(CanNotTeeter) }
  8. DisableMovement(DisableHorizontal)
  9. Goto(SpecialLw Main 0x26308)

GFX

  1. Subroutine(SpecialLw GFX 0xa398)
  2. if (not(BoolIsTrue LongtermAccessBool (0x72)))
    1. BoolVariableSetTrue { variable: LongtermAccessBool (0x72) }
    2. loop Infinite times:
      1. AddVelocity { x_vel: Constant(0.0), y_vel: Constant(0.055) }
      2. if ((InternalConstantInt (0x1a) LessThan scalar(-1.2)))
        1. ResetVerticalVelocityAndAcceleration(true)
        2. AddVelocity { x_vel: Constant(0.0), y_vel: Constant(-1.2) }
      3. SyncWait(1.0)

SFX

  1. Goto(SpecialLw SFX 0xdc08)

Other

  1. ItemVisibility(false)
  2. AsyncWait(5.0)
  3. Rumble { unk1: 16, unk2: 0 }